Search
BitMask.get(T) Method
See Also
 






Method returns a EnumSet from given BitMask value.

Namespace: com.mindfusion.common
File: com.mindfusion.common

 Syntax

Java  Copy Code

<T> EnumSet<T> get (
    int id,
    Class<T> instance
)

 Parameters

id

represents bit value

instance

a Class to detect concrete type of Enum.

 Return Value

EnumSet of Enum or Empty set if BitMask value & Power of 2 equals Zero.

 See Also